package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.HouseImage;

import java.util.List;

/**
 * Date:2022/11/4
 * Author:ybc
 * Description:
 */
public interface HouseImageService extends BaseService<HouseImage> {

    /**
     * 根据房源的id和type查询房源或房产图片
     * @param houseId
     * @param type
     * @return
     */
    List<HouseImage> findHouseImageListByHouseIdAndType(Long houseId, int type);
}
